package pers.wensheng.patterns.behavioral_pattern.memento_pattern.white_box;

import lombok.Getter;
import lombok.Setter;

/**
 * 游戏状态存储类
 * 备忘录类
 */
@Getter
@Setter
public class RoleStateMemento {
    private int vit; //生命力
    private int atk; //攻击力
    private int def; //防御力

    public RoleStateMemento(int vit, int atk, int def) {
        this.vit = vit;
        this.atk = atk;
        this.def = def;
    }
}
